﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Webadmin_Modules_Partner_PartnerList : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string _Redirect = Request.QueryString["Act"] == null ? "" : Request.QueryString["Act"];
        switch (_Redirect)
        {
            case "Add":
            case "Edit": _Redirect = "ListEdit.ascx"; break;
            default: _Redirect = "ListBody.ascx"; break;
        }

        this.body.Controls.Add(LoadControl(_Redirect));
        this.body.Controls.Add(LoadControl("../PowerBy.ascx"));
    }
}
